
monster1 = {:health => 500}
monster2 = {:health => 500}

for i in 1..5
	damage = rand(0...100)
	puts "Round #{i}..."
	puts "monster1 attacks monster2 with #{damage} damage"
	monster2[:health] -= damage
	puts "monster2's health is now #{monster1[:health]}"

	damage = rand(0...100)
	puts "monster2 attacks monster1 with #{damage} damage"
	monster1[:health] -= damage
	puts "monster1's health is now #{monster1[:health]}"
end

if monster1[:health] > monster2[:health]
	puts "monster1 is the winner!!!"
else
	puts "monster2 is the winner!!!"
end